/**
 *
 * @author John Creecy
 */
package server.entities;

public class PlayerActionEntity {
	private String playerName;
	private int movementDirection; 
	private String chatMessage;
	private int movementRate;
	private int x;
	private int y;

	public PlayerActionEntity(String name, int xm, int ym, String message, int movementUnits) {
		playerName = name;
		x = xm;
		y = ym;
		chatMessage = message;
		movementRate = movementUnits;
	}

	public String getName() {
		return playerName;
	}

	public int getMovementDirection() {
		return movementDirection;
	}

	public String getChatMessage() {
		return chatMessage;
	}

	public int getMovementUnits() {
		return movementRate;
	}

	public int getX(){
		return x;
	}

	public int getY(){
		return y;
	}

}
